﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true"
    CodeFile="CompanyList.aspx.cs" Inherits="Manage_CompanyList" Title="企业管理" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript" type="text/javascript">
// <!CDATA[

        function Button5_onclick() {
            window.open("CompanyAdd.aspx", null)
        }

 

// ]]>
    </script>

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript">        function Submit1_onclick() { }
    </script>

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px">
                <img src="../images/intro_left.gif" width="4" height="34">
            </td>
            <td class="intro_wordbg">
                企业管理
            </td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34">
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
                用户编码：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtUserCode" runat="server" InvertedComma="用户编码" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                单位名称：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtAttorneyName" runat="server" InvertedComma="单位名称" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                审核时间：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtShenheDate" runat="server" onclick="javascript:fPopCalendar(this,this);"
                    dataType="Date" format="ymd" require="true" DateTimeOnly="审核时间" msg="日期不存在" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                企业类型：
            </td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstQYType" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                审核状态：
            </td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstCheckStatus" runat="server">
                </asp:DropDownList>
            </td>
            <td class="td_left_20">
                审核人：
            </td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstSHR" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                提交状态：
            </td>
            <td class="td_right_30">
                <asp:DropDownList ID="lstMemo2" runat="server">
                </asp:DropDownList>
            </td>
            <td class="td_left_20">
                是否已递交资料：</td>
            <td class="td_right_30">
                <asp:DropDownList ID="LIsSendin" runat="server">
                <asp:ListItem  Value="0" Text="未递交"></asp:ListItem>
                <asp:ListItem  Value="1" Text="已递交"></asp:ListItem>
                <asp:ListItem  Value="3" Text="全部" Selected="True"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                是否参与遴选：</td>
            <td class="td_right_30">
                <asp:DropDownList ID="LIsXL" runat="server">
                <asp:ListItem  Value="4" Text="全部" Selected="True"></asp:ListItem>
                <asp:ListItem  Value="1" Text="参与"></asp:ListItem>
                <asp:ListItem  Value="0" Text="不参与" ></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="td_left_20">
                &nbsp;</td>
            <td class="td_right_30">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="4" class="td_center">
                <asp:Button ID="Button6" runat="server" OnClick="Button5_Click" Text="查  询" CssClass="button_80"
                    OnClientClick="javascript:return CheckForm();" />
                &nbsp;<asp:Button ID="Button8" runat="server" CssClass="button_80" 
                    onclick="Button6_Click" OnClientClick="javascript:return CheckForm();" 
                    Text="已递交资料" />
                &nbsp;<asp:Button ID="Button7" runat="server" CssClass="button_80" 
                    onclick="Button7_Click" OnClientClick="javascript:return CheckForm();" 
                    Text="取消已递交" />
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <asp:GridView AutoGenerateColumns="False" ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound"
                    Width="100%">
                    <Columns>
                        <asp:BoundField DataField="AccountId" HeaderText="AccountId" />
                        <asp:BoundField DataField="CompanyName" HeaderText="企业名称" ItemStyle-HorizontalAlign="Left" />
                        <asp:BoundField DataField="UserCode" HeaderText="用户编码" />
                        <asp:BoundField DataField="Pnd" HeaderText="识别码" />
                        <asp:BoundField DataField="CheckStatus" HeaderText="审核状态" />
                        <asp:BoundField DataField="memo6" HeaderText="审核不通过原因" />
                        <asp:HyperLinkField DataNavigateUrlFields="AccountId" DataNavigateUrlFormatString="CompanyUpdate.aspx?AccountId={0}"
                            HeaderText="审核" Target="_blank" Text="审核" />
                        <asp:HyperLinkField DataNavigateUrlFields="AccountId" DataNavigateUrlFormatString="CompanyGMPList.aspx?AccountId={0}"
                            HeaderText="相关GMP信息" Target="_blank" Text="相关GMP信息" />
                        <asp:BoundField DataField="AccountName_TJR" HeaderText="添加人" />
                        <asp:BoundField DataField="AccountName_SHR" HeaderText="审核人" />
                        <asp:BoundField DataField="checktime" HeaderText="审核时间" ItemStyle-Width="60px" />
                       <asp:BoundField DataField="IsSendin" HeaderText="是否递交资料" />
                       <asp:TemplateField HeaderText="选择" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <input name="chk" type="checkbox"  value='<%# DataBinder.Eval(Container.DataItem, "AccountId")%>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="usercode_xt" HeaderText="统一编号" />
                    </Columns>
                </asp:GridView>
                <asp:GridView ID="GridView2" runat="server" OnRowDataBound="GridView2_RowDataBound">
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
